import Vue from 'vue'
import Vuex from 'vuex'
import home from './moudles/home'
import login from './moudles/login'
import detail from './moudles/detail'
import sliderNav from './moudles/sliderNav'
import search from './moudles/search'
import shopping from './moudles/shopping'

Vue.use(Vuex)

export default new Vuex.Store({
   state:{
       searchArr:[]
   },
    modules:{
        home,
        login,
        detail,
        sliderNav,
        search,
        shopping
    }
})
